import requests

get = requests.get("https://www.baidu.com")
post = requests.post("https://www.baidu.com")

get_req = requests.request("GET", "https://www.baidu.com")
post_req = requests.request("POST", "https://www.baidu.com")

print("get:", get)
print("post:", post)
print("get_req", get_req)
print("post_req", post_req)